package com.ruoyi.db.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公海数据分配对象 lq_merchant_data_allocate_info
 * 
 * @author ruoyi
 * @date 2023-08-28
 */
public class MerchantDataAllocateInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 日期 */
    @Excel(name = "日期")
    private String dateInfo;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long infoId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 数据ID（公海ID） */
    @Excel(name = "数据ID", readConverterExp = "公=海ID")
    private Long dataId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 状态（1 在库）（0 不在库） */
    @Excel(name = "状态", readConverterExp = "1=,在=库")
    private Long status;

    /** 类型（1 管理员分配）（2 自己捞取）（3 系统推送） */
    @Excel(name = "类型", readConverterExp = "1=,管=理员分配")
    private Long type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateInfo(String dateInfo) 
    {
        this.dateInfo = dateInfo;
    }

    public String getDateInfo() 
    {
        return dateInfo;
    }
    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateInfo", getDateInfo())
            .append("infoId", getInfoId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("dataId", getDataId())
            .append("uid", getUid())
            .append("status", getStatus())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
